package com.imooc.course.server.service;

import com.imooc.course.server.dto.LoginUserDto;
import com.imooc.course.server.dto.ResourceDto;
import com.imooc.course.server.dto.PageDto;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface ResourceService {

    List<ResourceDto> getList();

    List<ResourceDto> loadTree();

    void getList(PageDto pageDto);

    void save(List<ResourceDto> resourceDtoList);

    void save(String resourceJson);

    void delete(String id);

    List<ResourceDto> readUserAuth(LoginUserDto loginUserDto);

}
